 /**
 * Description: 客户端管理
 * @author:yueyemoyan
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-05-09   yueyemoyan       1.0.0     Initial
 */
package com.metro.activation.biz.beans.entity;

import java.util.Date;

import com.metro.core.beans.entity.BaseEntity;
import com.metro.utils.DateUtil;

import lombok.Data;
import lombok.EqualsAndHashCode;
 /**
 * 客户端管理<br>
 *
 * @author:yueyemoyan
 * @since:1.0.0
 * @version [1.0.0, 2018-05-09]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class BizClientEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
    //客户端编号
    private String clientId;
    //激活码
    private String activationCode;
    //激活时间
    private Date activationTime;
    //激活状态
    private String activationStatus;
    //客户名称
    private String customerName;
    //最近使用时间
    private Date lastUserTime;
    //设备状态
    private String clientStatus;


    public String getActivationTimeStr() {
        return DateUtil.formatDate(this.activationTime, "yyyy-MM-dd HH:mm:ss");
    }
    public String getLastUserTimeStr() {
        return DateUtil.formatDate(this.lastUserTime, "yyyy-MM-dd HH:mm:ss");
        
    }

}
